package io.renren.modules.humanResources.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

import java.math.BigDecimal;

/**
 * 产品信息表
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2024-03-28
 */
@Data
@ApiModel(value = "产品信息表")
public class ProductDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "id")
	private Long id;

	@ApiModelProperty(value = "分类id")
	private Long categoryId;

	@ApiModelProperty(value = "分类标题")
	private String categoryTitle;

	@ApiModelProperty(value = "产品标题")
	private String title;

	@ApiModelProperty(value = "产品描述")
	private String description;

	@ApiModelProperty(value = "产品图片URL")
	private String imgUrl;

	@ApiModelProperty(value = "产品价格")
	private BigDecimal price;

	@ApiModelProperty(value = "库存数量")
	private Integer quantity;

	@ApiModelProperty(value = "创建者")
	private Long creator;

	@ApiModelProperty(value = "创建时间")
	private Date createDate;

	@ApiModelProperty(value = "更新者")
	private Long updater;

	@ApiModelProperty(value = "更新时间")
	private Date updateDate;


}